str="abjbj"
print("字符串长度",#str)

s="sdsad\nsds"
print("字符串多行",s)
s=[[

123
dsaf
]]
print("字符串多行",s)

print("字符串拼接","123","456")
print("字符串拼接","123".."456")

a="asd"
b="dfg"
c=a..b
print("字符串拼接",c)

print("字符串拼接",string.format("我%d岁了",10))

c="qwesdfsd"
print("字符串位置",string.find(c,"sd"))
--数组索引从1开始

print("字符串修改",string.gsub(c,"sd","##"))
a=string.byte("abc",1)
print("a的ASCII码是",a)
print("a的ASCII码是",string.char(a))